#include "undragwidget.h"

UndragWidget::UndragWidget(QWidget *parent)
    : QWidget{parent}
{

}
void UndragWidget::mousePressEvent(QMouseEvent* event){}
void UndragWidget::mouseMoveEvent(QMouseEvent* event){}
void UndragWidget::mouseReleaseEvent(QMouseEvent* event){}
void UndragWidget::paintEvent(QPaintEvent *event){
    QStyleOption opt;
    opt.init(this);
    QPainter p(this);
    style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
}
